THMSG(1)                  BSD General Commands Manual                 THMSG(1)

NAME
     thmsg — Touhou dialogue tool

SYNOPSIS
     thmsg command[option ...] [input [output]]

DESCRIPTION
     The thmsg utility converts dialogue files from and to a human-readable
     format.  The following commands are available:

     c[e]version [input [output]]
             Creates a new dialogue file from the input.

     d[e]version [input [output]]
             Dumps a dialogue file.

     V       Displays the program version.

     The version specifies which dialogue format to use, it is further modi‐
     fied by the presence of the e option.  Running the program without a com‐
     mand will list the supported formats.

     e       The e option is used to process ending dialogue, and for the mis‐
             sion.msg file in TH125.

EXIT STATUS
     The thmsg utility exits with 0 on success, 1 on error.

EXAMPLES
     Create a new dialogue file from the input file:

           thmsg c10 input.txt output.msg

     Dump the mission descriptions to standard output:

           thmsg de125 mission.msg

SEE ALSO
     Project homepage:
           https://github.com/thpatch/thtk

SECURITY CONSIDERATIONS
     Invalid data may not be properly handled.  Do not dump untrusted dialogue
     files.

thtk                            March 13, 2011                            thtk
